projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
939e552
)
Don't return uninitialized pointers
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 13 Aug 2009 13:45:04 +0000
(09:45 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 13 Aug 2009 13:47:20 +0000
(09:47 -0400)
This was giving me segfaults somewhere else.
gtk/gtkiconview.c
patch
|
blob
|
history
diff --git
a/gtk/gtkiconview.c
b/gtk/gtkiconview.c
index 240e3739cdcf07aa451d6a1e16d93529889892aa..c517b0fb90eac8b5a3e77c425df4bd85b0bba121 100644
(file)
--- a/
gtk/gtkiconview.c
+++ b/
gtk/gtkiconview.c
@@
-3503,11
+3503,11
@@
gtk_icon_view_get_item_at_coords (GtkIconView *icon_view,
}
}
- if (only_in_cell)
- return NULL;
-
if (cell_at_pos)
*cell_at_pos = NULL;
+
+ if (only_in_cell)
+ return NULL;
}
return item;